﻿<%@ Page Title="Office Daily Sale Report" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="OfficeDailySaleReport.aspx.cs" Inherits="IFD2.OfficeDailySaleReport" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <link href="Datetimepicker/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css"/>

    <form id="form1" runat="server" role="form" class="form-inline">
    <%--<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate>--%>
    <div class="container-fluid body-content" style="width:100%;">

    <div class="row">
        <div class="col-sm-2 well well-sm">
            <h5><asp:Literal ID="litTitle" runat="server" meta:resourcekey="tipPageTitle"></asp:Literal></h5>
        </div>

        <div class="col-sm-10 well well-sm">
            <div class="panel">
                <div class="panel-heading btn-primary">
                    <h6 class="panel-title" id="section-2"><asp:Literal ID="Literal1" runat="server" meta:resourcekey="tipPageTitle"></asp:Literal></h6>
                </div>
                <div class="panel-body">
                    <asp:Label ID="Label2" runat="server" Text="Date(UTC):" meta:resourcekey="DateUTC"></asp:Label>
                    &nbsp;<asp:TextBox ID="txtDate1" CssClass="form_datetime" runat="server" Width="150px" MaxLength="16"></asp:TextBox>
                    &nbsp;+ 24h&nbsp;
                    &nbsp;<br />
                    <br />
                    <div class="btn-group">
                        <asp:Button ID="btnSaleRpt" runat="server" OnClick="btnSaleRpt_Click" Text="Sale Report"  meta:resourcekey="SaleReport" CssClass="btn btn-sm btn-default"/>
                        <asp:Button ID="btnRefundRpt" runat="server" OnClick="btnRefundRpt_Click" Text="Refund Report"  meta:resourcekey="RefundReport" CssClass="btn btn-sm btn-default" />
                        <asp:Button ID="btnMiscServSale" runat="server" onclick="btnMiscServSale_Click" Text="Misc. Serv. Sale Report..." meta:resourcekey="MiscSaleReport" CssClass="btn btn-sm btn-default" />
                        <asp:Button ID="btnMiscServRefund" runat="server" onclick="btnMiscServRefund_Click" Text="Misc. Serv. Refund Report..." meta:resourcekey="MiscRefundReport" CssClass="btn btn-sm btn-default" />
                    </div>
                    <br />
                    <asp:Label ID="lblError" runat="server" CssClass="ifdMessage"></asp:Label>
                </div>
            </div>
        </div>
    </div>

    </div>
    <%--</ContentTemplate></asp:UpdatePanel>--%>
    </form>

    <script src="Datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
    <script>
        $(document).ready(function () {
            $('.form_datetime').datetimepicker({
                format: 'yyyy-m-d hh:ii',
                weekStart: 1,
                todayBtn: 1,
                autoclose: 1,
                todayHighlight: 1,
                startView: 'month',
                forceParse: 0,
                showMeridian: 0
            });
            //$('.form_date').datetimepicker({
            //    format: 'yyyy-m-d',
            //    weekStart: 1,
            //    todayBtn: 1,
            //    autoclose: 1,
            //    todayHighlight: 1,
            //    startView: 'month',
            //    minView: 'month',
            //    forceParse: 0
            //});
            //$('.form_time').datetimepicker({
            //    format: 'hh:ii' ,
            //    weekStart: 1,
            //    todayBtn:  1,
            //    autoclose: 1,
            //    todayHighlight: 1,
            //    startView: 'day',
            //    minView: 'hour',
            //    maxView: 'day',
            //    forceParse: 0
            //});
       });
  	</script>
</asp:Content>
